/******************************************************************************************
 
Made by www.Flashphoner.com, all rights reserved.
These sources can only be used for working with Flashphoner server.
If you want use this to create your own application (separate from Flashphoner server) � 
please contact support@flashphoner.com 

******************************************************************************************/

package com.flashphoner.api.data
{	
	import flash.events.*;
	import flash.net.*;
	[Bindable]
	public class PhoneConfig
	{
		//RTMP server URL
		public static var SERVER_URL:String = "rtmp://87.226.225.50:1935";
		
		//Application name
		public static var APP_NAME:String ="flashphoner_app";		
		
		//Is User Agent on VoIP server required (true/false)
		public static var REGISTER_REQUIRED:Boolean = true;
		
		//Is videocalls support enabled (true/false)	
		public static var VIDEO_ENABLED:Boolean = true;	
		
		//Is callee validation enabled (true/false) 
		public static var CHECK_VALIDATION_CALLEE:Boolean = true;
	
		//Current version of Flashphoner client
		public static var VERSION_OF_PRODUCT:String = "";
		
		public static function getRandomInt(from:int, to:int):int{
			return int(Math.floor( from + ( Math.random() * ( to - from + 1))));
		}
		
		
	}
}